package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetTwoYearRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetTwoYearPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetTwoYearDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetTwoYearDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetTwoYearDomainImpl extends BaseDomainImpl<BudgetTwoYearDto, BudgetTwoYearPo> implements BudgetTwoYearDomain {

    @Resource
    private BudgetTwoYearRepository budgetTwoYearRepository;

    @Override
    public BaseRepository<BudgetTwoYearPo> getMapper() {
        return budgetTwoYearRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetTwoYearPo>> getRepositoryClass() {
        return BudgetTwoYearRepository.class;
    }

}
